<?php require 'gauche.tpl.php';?>
    <div id="content">
        <div>     
            <h2>Garage <?php echo $clanInfo['name']?><img src="<?php echo $baseUri?>/images/filtre.png" alt="filtres" title="affiche/masque les fitres" id="showFilters" /></h2> 
            <?php require_once 'clangarageaction.tpl.php';?>
            <div class="garage">
                <?php 
                $l = 10;
                foreach ($tanks as $tank) {
                    if ($l !== $tank['level']) {
                    echo '<h2>Tiers '.$tank['level'].'</h2>';
                    }
                     $premium = "";
                    if ($tank['premium'] === '1') {
                        $premium = "premium";
                    }?>
                    <div class="bigtank <?php echo $tank['nation'].' '.$premium; ?>">
                        <img id="<?php echo $tank['tank_id']?>" class="bigtank" src="<?php echo $tank['image'];?>" alt="<?php echo $tank['name']; ?>" title="<?php echo $tank['name']?>"/>
                        <div class="nombre"><?php echo $tank['nb']; ?></div>
                        <div class="nomtank"><?php echo $tank['name']; ?></div>
                    </div>           
                    <?php 
                    $l = $tank['level'];
            }?>
            </div> 
        </div>
    </div>    